package com.gqj.elec.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.gqj.common.annotation.Excel;
import com.gqj.common.core.domain.BaseEntity;

/**
 * 资产盘点主对象 elec_material_check
 * 
 * @author lxq
 * @date 2023-12-17
 */
public class ElecMaterialCheck extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long checkId;

    /** 盘点单号 */
    @Excel(name = "盘点单号")
    private String batchNumber;

    /** 盘点主题 */
    @Excel(name = "盘点主题")
    private String checkTheme;

    /** 物资类别 */
    private String materialCategory;

    /** 盘点日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "盘点日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkDate;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public String getMaterialCategory() {
        return materialCategory;
    }

    public void setMaterialCategory(String materialCategory) {
        this.materialCategory = materialCategory;
    }

    public void setCheckId(Long checkId)
    {
        this.checkId = checkId;
    }

    public Long getCheckId() 
    {
        return checkId;
    }
    public void setBatchNumber(String batchNumber) 
    {
        this.batchNumber = batchNumber;
    }

    public String getBatchNumber() 
    {
        return batchNumber;
    }
    public void setCheckTheme(String checkTheme) 
    {
        this.checkTheme = checkTheme;
    }

    public String getCheckTheme() 
    {
        return checkTheme;
    }
    public void setCheckDate(Date checkDate) 
    {
        this.checkDate = checkDate;
    }

    public Date getCheckDate() 
    {
        return checkDate;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("checkId", getCheckId())
            .append("batchNumber", getBatchNumber())
            .append("checkTheme", getCheckTheme())
            .append("checkDate", getCheckDate())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
